package com.tfb.rong;

import java.util.Date;
import java.util.List;

import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

public class PersonalInformationPage {

    private String name;

    private String id;

    private String title;

    private String address;

    private String tel;

    private Date dob;

    private String hino;

    private String email;

    Personalinformation_Nok nok;
    Personalinformation_LPA lpa;
    List<PersonalInformation_OtherContacts> otherContacts;
    List<PersonalInformation_Professionals> professionals;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    @JsonSerialize(using = CustomJsonDateSerializer.class)
    public Date getDob() {
        return dob;
    }

    @JsonDeserialize(using = CustomJsonDateDeserializer.class)
    public void setDob(Date dob) {
        this.dob = dob;
    }

    public String getHino() {
        return hino;
    }

    public void setHino(String hino) {
        this.hino = hino;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Personalinformation_Nok getNok() {
        return nok;
    }

    public void setNok(Personalinformation_Nok nok) {
        this.nok = nok;
    }

    public Personalinformation_LPA getLpa() {
        return lpa;
    }

    public void setLpa(Personalinformation_LPA lpa) {
        this.lpa = lpa;
    }

    public List<PersonalInformation_OtherContacts> getOtherContacts() {
        return otherContacts;
    }

    public void setOtherContacts(List<PersonalInformation_OtherContacts> otherContacts) {
        this.otherContacts = otherContacts;
    }

    public List<PersonalInformation_Professionals> getProfessionals() {
        return professionals;
    }

    public void setProfessionals(List<PersonalInformation_Professionals> professionals) {
        this.professionals = professionals;
    }

}
